package com.example.day18;

/**
 * @author Lenovo
 */
public class OutputStreamWriterDemo {
    public static void main(String[] args) throws IOException {
        OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream("myCharStream\\osw.txt"));
        char[] chs = {'a', 'b', 'c', 'd', 'e'};
        osw.write("abcde", 1, 3);
        osw.close();
    }
    }

